<template>
	<view>
		<view class="nav-item clickc" @click="clickAccount">
			<view class="avatar">
				<image src="../../static/app-icon.png" mode=""></image>
			</view>
			<view class="info">
				<view class="name">
					陈大总
				</view>
				<view class="no">
					ID: 645434
				</view>
			</view>
			<view class="nav-arrow">
				<image src="../../static/fangxiang@3x.png" mode=""></image>
			</view>
		</view>
		
		<view class="nav-item clickc" @click="clickCall">
			<view class="icon">
				<image src="../../static/images/kefu.png" mode=""></image>
			</view>
			<view class="info">
				<view class="text">
					联系客服
				</view>
			</view>
			<view class="nav-arrow">
				<image src="../../static/fangxiang@3x.png" mode=""></image>
			</view>
		</view>
		
		<view class="nav-item clickc" @click="clickSetting">
			<view class="icon">
				<image src="../../static/images/set.png" mode=""></image>
			</view>
			<view class="info">
				<view class="text">
					设置
				</view>
			</view>
			<view class="nav-arrow">
				<image src="../../static/fangxiang@3x.png" mode=""></image>
			</view>
		</view>
		
		<modal
			@clickDefine="defineCall" 
			defineText="呼叫" 
			ref="callModal" 
			title="5435343" 
			subtitle="平台服务热线"
			titleFontSize="54"
			/>
	</view>
</template>

<script>
	import caiCustom from '@/components/cai-custom/index'
	import Modal from '@/components/modal/index'
	export default {
		components: {
			caiCustom,
			Modal,
		},
		data() {
			return {
				
			};
		},
		methods: {
			clickAccount() {
				uni.navigateTo({
					url:'/pages/my/account'
				})
			},
			defineCall() {
				
			},
			clickCall(e) {
				this.$refs.callModal.showModal(e)
			},
			clickSetting() {
				uni.navigateTo({
					url:'/pages/my/settings'
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
